<?php

namespace app\common\Model;

use think\Model;

class User extends Model
{
    // 设置返回数据集的对象名
    protected $resultSetType = 'collection';

    //用户状态:0:禁用,1:有效
    const STATUS_FORBID = 0;
    const STATUS_NORMAL = 1;
    public $_status = [
        0 => '禁用',
        1 => '正常',
    ];

    //用户类型:0:普通用户,1:会员
    const TYPE_NORMAL = 0;
    const TYPE_VIP = 1;
    public $_type = [
        0 => '普通用户',
        1 => 'VIP',
    ];

    public static function getUid()
    {

    }
}